package com.guangyunl.a_scanner;

import java.util.Scanner;

public class Demo04Scanner {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        System.out.print("请输入数据:");
        int data1 = sc.nextInt();
        System.out.println("data1 = " + data1);
    }
}
